﻿#region 信息
// Copyright©2014 Rex Rao all rights reserved.
// File name : Mojito\Mojito.Entity\Bill.cs
// Author : Sohobloo
// Create time : 2014/08/28 14:11
// Update time : 2014/08/28 14:11
#endregion

using System;
using Sohobloo.SoMcCoffee.Entity;

namespace Mojito.Entity
{
    public class AccountItem : EntityBase
    {
        public int SerialNumber { get; set; }

        public DateTime AccountingTime { get; set; }

        public DateTime PeriodDate { get; set; }

        public Guid AccountId { get; set; }

        public Guid CategoryId { get; set; }

        public double Amount { get; set; }

        public Guid? OrderId { get; set; }

        public string Notes { get; set; }

        public virtual Account Account { get; set; }

        public virtual AccountItemCategory Category { get; set; }

        public virtual Order Order { get; set; }
    }
}